
<div class="content">
    <style>
        .form-commonsearch .form-group {
            margin-left: 0;
            margin-right: 0;
            padding: 0;
        }

        form.form-commonsearch .control-label {
            padding-right: 0;
        }

        .tdtitle {
            margin-bottom: 5px;
            font-weight: 600;
        }

        #channeltree {
            margin-left: -6px;
        }

        #channelbar .panel-heading {
            height: 55px;
            line-height: 25px;
            font-size:14px;
        }

        @media (max-width: 1230px) {

            .fixed-table-toolbar .search .form-control {
                display: none;
            }
        }

        @media (min-width: 1200px) {

            #channelbar {
                width: 25%;
            }

            #archivespanel {
                width: 75%;
            }
        }

    </style>
    <div class="row">
        <div class="col-md-3 hidden-xs hidden-sm" id="channelbar" style="padding-right:0;">
            <div class="panel panel-default panel-intro">
                <div class="panel-heading">
                    <div class="panel-lead">
                        <em>章节列表</em>
                    </div>
                </div>
                <div class="panel-body">
                    <span class="text-muted"><input type="checkbox" name="" id="expandall" > <label for="expandall"><small>点击展开全部</small></label></span>
                    <div id="channeltree" style="height:475px;overflow-y:auto "></div>
                </div>
            </div>
        </div>
        <div class="col-xs-12 col-md-9" id="archivespanel">
            <div class="panel panel-default panel-intro" style="background: #f1f4f6;padding-top: 0;padding-bottom: 0;box-shadow: none;">
                <div class="panel-heading">
                    <ul class="nav nav-tabs" data-field="status">
                        <li class="active"><a href="javascript:;" class="tab_btn" data-value="1">章节已抽取题目</a></li>
                        <li class=""><a href="javascript:;" class="tab_btn" data-value="2">章节全部题目</a></li>
                        <li class=""><a href="javascript:;" class="tab_btn" data-value="3">本场考试全部题目</a></li>
                    </ul>
                </div>
                <div id="myTabContent" class="tab-content" style="background:#fff;padding:15px;">
                    <div class="tab-pane fade active in" id="one">
                        <div class="widget-body no-padding">
                            <div id="toolbar" class="toolbar">
                                <a href="javascript:;" style="display: none" data-id="{$examInfo['id']}" class="btn btn-default btn-ques-add {:$auth->check('unit/add')?'':'hide'}" title="{:__('添加到试卷')}" ><i class="fa fa-plus"></i> {:__('添加到试卷')}</a>
                                <a href="javascript:;" data-id="{$examInfo['id']}" class="btn btn-danger btn-ques-del btn-disabled disabled {:$auth->check('exam/delquestion')?'':'hide'}" title="{:__('移除')}" ><i class="fa fa-trash"></i> {:__('移除')}</a>

                            </div>
                            <table id="table" data-id="{$examInfo['id']}" class="table table-striped table-bordered table-hover table-nowrap"
                                   data-operate-edit="{:$auth->check('question/edit')}"
                                   data-operate-del="{:$auth->check('question/del')}"
                                   width="100%">
                            </table>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>